﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DotNetNuke.Entities.Modules;

namespace LocationProvider
{
    public partial class Main : PortalModuleBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Params["all"] != null)
            {
                DotNetNuke.Entities.Modules.PortalModuleBase objmodule = (PortalModuleBase)LoadControl("Step2.ascx");
                objmodule.ModuleConfiguration = this.ModuleConfiguration;
                this.Controls.Add(objmodule);
            }
            else
            {
                DotNetNuke.Entities.Modules.PortalModuleBase objmodule = (PortalModuleBase)LoadControl("Step1.ascx");
                objmodule.ModuleConfiguration = this.ModuleConfiguration;
                this.Controls.Add(objmodule);
            }
        }
    }
}